package com.beiming.libra.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.beiming.libra.dao.DictMapper;
import com.beiming.libra.domain.Dict;
import com.beiming.libra.service.DictService;

import lombok.extern.slf4j.Slf4j;

/**
 * 
 * @author weibo
 *
 */
@Service
@Slf4j
public class DictServiceImpl implements DictService {

  @Resource
  private DictMapper dictMapper;

  @Override
  public List<Dict> selectByType(String type) {
    return dictMapper.selectByType(type);
  }

}
